#region Imports

using System;

#endregion

namespace IEC.ColumnOrdering.SP2007.Application.Services
{

    /// <summary>
    /// Provides access to services.
    /// </summary>
    public static class ServiceFactory
    {

        #region Methods - Static Member

        /// <summary>
        /// Gets the column ordering service.
        /// </summary>
        /// <returns>
        /// The column ordering service.
        /// </returns>
        public static IColumnOrderingService GetColumnOrderingService()
        {
            return new IEC.ColumnOrdering.SP2007.Application.Services.Concrete.PlatformColumnOrderingService();
        }

        /// <summary>
        /// Gets the navigation service.
        /// </summary>
        /// <returns>
        /// The navigation service.
        /// </returns>
        public static INavigationService GetNavigationService()
        {
            return new IEC.ColumnOrdering.SP2007.Application.Services.Concrete.PlatformNavigationService();
        }

        #endregion

    }

}
